package com.jdb.banner.provider.service;

import com.guns21.result.domain.PageResult;
import com.guns21.result.domain.Result;
import com.jdb.banner.api.dto.BannerDTO;
import com.jdb.banner.api.query.BannerQuery;

public interface BannerQueryService{

    PageResult<BannerDTO> listBanners(Integer count);

    PageResult<BannerDTO> listByPage(BannerQuery bannerQuery);

    Result<BannerDTO> get(String id);
}
